home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 033a / cal14s23.zip / CALLS.DOC < prev    next >
Text File  |  1992-01-09  |  19KB  |  490 lines

  1.  
  2.                              CALLS.EXE
  3.  
  4.               Call analyzer for PCBoard versions 11.7 
  5.   (updated for PCBoard 11.8 and PCB/ProDOOR, S.H.Smith, 07/05/87)
  6.           (updated for PCBoard 14.x, S.H.Smith, 01-17-91)
  7.  
  8.  
  9.      Note:  Warren Lauzon is no longer supporting this program 
  10.                (since he's completely rewriting it)
  11.         So, please don't bother him with support questions.
  12.  
  13.               If you need help with it, contact me at
  14.                          Samuel H. Smith,
  15.                        Sysop, The Tool Shop
  16.  
  17.                    Phone number         Modem type
  18.                   --------------    ---------------------
  19.                   (818) 891-3772    US Robotics HST 9600
  20.                   (818) 891-1344    Hayes-V series 9600
  21.                   (818) 891-6780    US Robotics 2400 (free line)
  22.  
  23.  
  24.                  CHANGE HISTORY (in reverse order)
  25.                  =================================
  26.  
  27. Corrected an error that would cause a lockup on OPENED DOOR log entries
  28. that contain "\" as part of the doorname.
  29.  
  30. Version 14s23 09-Jan-92 S.H.Smith
  31. -----------------------------------------------------------------------
  32.  
  33.  
  34. The "security level" reports were generating duplicate entries for some
  35. security levels.  You will have to delete CALLS.SAV and let CALLS
  36. rebuild it.
  37.  
  38. Version 14s22 08-Dec-91 S.H.Smith
  39. -----------------------------------------------------------------------
  40.  
  41.  
  42. Changed to accept new format of "new user registration" and "caller
  43. security level" enerated by pcboard 14.5.
  44.  
  45. Version 14s21 17-Jan-91 S.H.Smith
  46. -----------------------------------------------------------------------
  47.  
  48.  
  49. Added new report code 'R' to report "Minutes Used by Security Level".
  50. Renamed report code 'O' to "Number of Calls by Security Level".
  51.  
  52. Version 14s20 13-Apr-90 S.H.Smith
  53. -----------------------------------------------------------------------
  54.  
  55.  
  56. The "Free Download" and "Connect Type" reports were being interchanged
  57. in the .SAV file; this has been corrected, but old .SAV files must be
  58. rebuilt before these reports will be correct.
  59.  
  60. Added new EVENTMODE option to control how event time is reported.  The
  61. options are:
  62.  
  63.         EVENTMODE OFF   ;this option disables calculation of event
  64.                         ;duration
  65.  
  66.         EVENTMODE BUSY  ;this mode calculates event duration and
  67.                         ;accounts for it as 'busy' time (i.e. the system
  68.                         ;was in use during this time)
  69.  
  70.         EVENTMODE IDLE  ;this mode calculates event duration and
  71.                         ;accounts for it as 'idle' time (i.e. the system
  72.                         ;was NOT in use during this time)
  73.  
  74. Changed "event duration" reported to average minutes per event instead
  75. of total minutes for all events.
  76.  
  77. Added 29 new protocol codes:
  78.         0 1 2 3 4 5 6 7 8 9 ! @ # $ % ^ & * + - < > / [ ] { } ` ~
  79.  
  80. Added a counter of MarkMail messages left on the system.
  81. Corrected an error in baud rate calculation when baud rates included "E".
  82.  
  83.  
  84. Version 14s19 16-Feb-90 S.H.Smith
  85. -----------------------------------------------------------------------
  86.  
  87.  
  88. Added reports for ProDoor's "Free Download" feature.  This report is
  89. enabled with report code "Q".  Use the MAXFREE option to control the
  90. maximum number of filenames to be reported.
  91.  
  92. Moved samples configuration files to a sub-archive.
  93.  
  94. Version 14s18 13-Jan-90 S.H.Smith
  95. -----------------------------------------------------------------------
  96.  
  97.  
  98. Dates after 12-31-89 were not correctly calculated.
  99.  
  100. Added reports for ProLogon's new "Connect type" and "Security level"
  101. caller log entries.
  102.  
  103. Version 14s17 04-Jan-90 S.H.Smith
  104. -----------------------------------------------------------------------
  105.  
  106.  
  107. See CALLS.DOC for an explanation of the files included in CAL14S16.ZIP.
  108.  
  109. Deleted all command line parameters and created a new configuration file
  110. format to control reporting.  See CALLS.CNF for example file format.
  111.  
  112. Corrected processing of 'NUL' input file option.
  113.  
  114. Corrected reporting of download efficiency on "G" protocols.
  115.  
  116. Changed efficiency tables to allow up to 150% in report.
  117.  
  118. Added libraries to allow shared reading of caller log files.
  119.  
  120. Added new config file options to control number of entries in conference,
  121. bulletin, doors, and batchSize reports.
  122.  
  123. Added new config file option to redefine protocol names in report.
  124.  
  125. Added new config file option to specify alternate CALLS.SAV file name.
  126.  
  127. Added calculation of time spend processing scheduled events.
  128.  
  129. Version 14s16 02-Aug-89 S.H.Smith
  130. -----------------------------------------------------------------------
  131.  
  132. Corrected logic for determination of first and last log entry dates
  133. on multi-node reports.
  134.  
  135. Version 14s15 24-Jul-89 S.H.Smith
  136. -----------------------------------------------------------------------
  137.  
  138. Changed message formats to support ProDoor 3.1 betas as of 7-12-89.
  139. Added support for new ProLogon baud rate information.
  140.  
  141. Added support for multi-node reporting.  Append /N to caller file name,
  142. where N is the highest node number.  The program will then sequentially
  143. scan the caller files and combine them for a single report.
  144.  
  145. Version 14s14 13-Jul-89 S.H.Smith
  146. -----------------------------------------------------------------------
  147.  
  148. Changed message formats to support ProDoor 3.0 betas as of 4-9-89.
  149. Added support for 38400 bps connect speeds.
  150.  
  151. Version 14s13 09-Apr-89 S.H.Smith
  152. -----------------------------------------------------------------------
  153.  
  154. Corrected the handling of empty caller logs.  This makes it possible to
  155. generate multiple reports from the same caller log by re-running the
  156. calls program with 'NUL' in place of the caller log filename.
  157. Eliminated the use of Borland's CRT unit.  Ansi codes are now used to
  158. control the local display.
  159.  
  160. Usage:
  161. -----
  162.  
  163. calls CALLERS-FILE OUTPUT-FILE REPORT-LIST MIN-DOWNLOAD PEAK-HOURS
  164.  
  165. CALLERS-FILE is your pcboard CALLER file.  Use "NUL" to repeat previous data.
  166. OUTPUT-FILE  defaults to BLT99
  167. REPORT-LIST  defaults to ANBCDEFGHIJKLM
  168. MIN-DOWNLOAD defaults to 2
  169.  
  170. PEAK-HOURS   defaults to YNNNNNNNNNNNNNNNNYYYYYYY
  171.                         {0         1         2   }
  172.                         {012345678901234567890123}
  173.  
  174. The legal REPORT-LIST letters are:
  175.    A: system statistics            B: graphic modes
  176.    C: baud rates                   D: hourly usage
  177.    E: conferences joined           F: bulletins read
  178.    G: doors opened                 H: download protocols
  179.    I: download efficiency          J: upload protocols
  180.    K: upload efficiency            L: batch sizes
  181.    M: files downloaded             N: security statistics
  182.                                    Z: insert a blank line
  183.  
  184. Examples:
  185.  
  186.   calls \pcb\main\caller \gen\blt3
  187.             ;uses default report list, min-download and peak-hours.
  188.  
  189.   calls \pcb\main\caller \gen\blt3 ABCEFG 4 NNNNNNNNYYYYYYYYYNNNNNNN
  190.             ;to specify peak hours you MUST also include 
  191.             ;the report-list and min-download paremeters.
  192.  
  193.   calls nul \gen\blt-usage D
  194.   calls nul \gen\blt-files M
  195.             ;repeat previous report date in different formats or to
  196.             ;alternate output files
  197.  
  198.  
  199. Sample EVENT.SYS lines for two node systems:
  200. -------------------------------------------
  201.  
  202. rem Update NODE 1 caller log database
  203. cd \pcb1
  204. type \pcb\main\daycal1 >>\pcb\main\caller1
  205. if exist calls.sav     calls \pcb\main\daycal1 \pcb\gen\BLT3 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  206. if not exist calls.sav calls \pcb\main\caller1 \pcb\gen\BLT3 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  207. copy \pcb\main\daycal1 \pcb\main\yester1
  208. copy \pcb\main\newcal1 \pcb\main\daycal1
  209.  
  210. rem Update NODE 2 caller log database
  211. cd \pcb2
  212. type \pcb\main\daycal2 >>\pcb\main\caller2
  213. if exist calls.sav     calls \pcb\main\daycal2 \pcb\gen\BLT4 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  214. if not exist calls.sav calls \pcb\main\caller2 \pcb\gen\BLT4 ANBCDEFGHIJKLM 3 NNNNNNNNNNNNNNNNYYYYYYNN
  215. copy \pcb\main\daycal2 \pcb\main\yester2
  216. copy \pcb\main\newcal2 \pcb\main\daycal2
  217.  
  218. rem Create top uploaders/downloaders bulletin
  219. cd \pcb
  220. topusr main\users gen\blt5 20 4 120
  221.  
  222. Version 14s12 12-Mar-89 S.H.Smith
  223. -----------------------------------------------------------------------
  224.  
  225. Changes to allow 'ZIP' to be used instead of 'ARC'.
  226. Fixed some reports where 100.0% exceeded the margins.
  227. Corrected display of 'last caller log entry' on screen.
  228.  
  229. Version 14s11 27-Feb-89 S.H.Smith
  230. -----------------------------------------------------------------------
  231.  
  232. Rewrote file scanning procedures to sequentially access the caller log.
  233. This makes it possible to report from log files that have been partially
  234. corrupted by a text editor or another program failure.  Added a report
  235. of messages entered via the Qmail door.
  236.  
  237. Version 14s10 31-Jan-89 S.H.Smith
  238. -----------------------------------------------------------------------
  239.  
  240. Several statistics were double counting.  Improved format of hourly
  241. utilization graphic.  Added new statistic for CD-ROM library access.
  242. Slight speedup.
  243.  
  244. Version 14s9 29-Jan-89 S.H.Smith
  245. -----------------------------------------------------------------------
  246.  
  247. Corrected an error that prevented the report from counting callers with
  248. 'NEW' in their city name!  Uploads are no longer included in the list of
  249. files downloaded.
  250.  
  251. Version 14s8 10-Jan-89 S.H.Smith
  252. -----------------------------------------------------------------------
  253.  
  254. Removed case sensitivity on most caller log entries.
  255.  
  256. Version 14s7 05-Jan-89 S.H.Smith
  257. -----------------------------------------------------------------------
  258.  
  259. Added color output files.
  260. Added support for 4800 baud connections.
  261. Corrected formatting in bar graphs for items with 100%.
  262.  
  263. Version 14s6 31-Dec-88 S.H.Smith
  264. -----------------------------------------------------------------------
  265.  
  266. Removed ARC-specific terminology.  Updated for similar changes in
  267. ProDoor betas dated after 10-9-88.
  268.  
  269. Version 14s4 10-Oct-88 S.H.Smith
  270. -----------------------------------------------------------------------
  271.  
  272. Added a report of "Free Downloads" for compatibility with 9/30
  273. prodoor betas.
  274. Added a "Peak Hours" command line parameter.
  275. Deleted "Time Distribution" report because it was so slow and inaccurate.
  276.  
  277. Version 14s3 10-03-88 S.H.Smith
  278. -----------------------------------------------------------------------
  279.  
  280. Updated for new conference joined and bulletin read log formats.
  281. Added a check for empty caller log files.
  282.  
  283. Version 14s2 24-Sep-88 S.H.Smith
  284. -----------------------------------------------------------------------
  285.  
  286. Updated protocol letters for PCBoard 14 compatibility.
  287.  
  288. Version 14s1 20-Sep-88 S.H.Smith
  289. -----------------------------------------------------------------------
  290.  
  291. Updated new user registration for new PCB 14 message format.
  292.  
  293. Version 12s21 22-Jul-88 S.H.Smith
  294. -----------------------------------------------------------------------
  295.  
  296. Added support for node chat.
  297.  
  298. Version 12s20 22-Jun-88 S.H.Smith
  299. -----------------------------------------------------------------------
  300.  
  301. Added a new data file CALLS.DIR, and a new graph of Time Usage by Activity.
  302. Create the file CALLS.DIR in the current directory.  List all your download
  303. and upload directories in this file (one directory per line).   CALLS will
  304. use this to search for each file that has been downloaded or uploaded.  The
  305. files must be located to determine file size, which is used to calculate the
  306. minutes spent downloading and uploading.  File sizes are determined only the
  307. first time a file is seen.
  308.  
  309. Version 12s19 12-Jun-88 S.H.Smith
  310. -----------------------------------------------------------------------
  311.  
  312. Changed ARCM message counter to a long integer to prevent overflows.
  313.  
  314. Version 12s17 10-May-88 S.H.Smith
  315. -----------------------------------------------------------------------
  316.  
  317. Added support for ProDoor's new ARC Mail feature.
  318.  
  319. Version 12s16 16-Apr-88 S.H.Smith
  320. -----------------------------------------------------------------------
  321.  
  322. Added checks for 24:xx instead of 00:xx in some caller log entries.
  323. Should prevent some runtime errors.
  324.  
  325. Version 12s15 12-Mar-88 S.H.Smith
  326. -----------------------------------------------------------------------
  327.  
  328. Recompiled with stack and range check enabled - slower, but safer.
  329.  
  330. Version 12s14 11-Feb-88 S.H.Smith
  331. -----------------------------------------------------------------------
  332.  
  333. Improved bulletin activity report formatting.
  334. Made changes to allow caller logs with over 32000 entries.  Changed graphics
  335. to allow > 100% (for MNP modems in efficiency reporting).
  336.  
  337. Version 12s13 11-Feb-88 S.H.Smith
  338. -----------------------------------------------------------------------
  339.  
  340. Made the 'remote dos time' statistic work properly (broken ever since
  341. PCB 12.)   Added entries in protocol table for all letters of
  342. the aplhabet.
  343.  
  344. Version 12s12 19-Jan-88 S.H.Smith
  345. -----------------------------------------------------------------------
  346.  
  347.  
  348. Added the ability to store an internal summary of your caller log. 
  349. This makes it possible to add small daily caller logs and produce 
  350. the full report without keeping the whole caller log on file.  It 
  351. also reduces time spent scanning the log file. 
  352.  
  353. Each time CALLS is run, it looks for CALLS.SAV in the default 
  354. directory.  If it is present, it loads this "saved summary" into 
  355. memory and adds the specified caller file to it.  After the report 
  356. is generated, CALLS.SAV is updated to include the new data.   Here 
  357. is a recommended EVENT.SYS sequence: 
  358.  
  359.      1. cd \pcb
  360.      2. calls main\daycal gen\blt3 zzAzNBCDEFGHIJKLM 2
  361.      3. type main\daycal >>main\caller
  362.      4. del main\daycal
  363.  
  364. Use PCBSETUP to change the caller log filename from the usual 
  365. 'caller' to 'daycal' - this will be your "daily caller log".   
  366.  
  367. Line 2 runs the caller log report on the daily log and generates 
  368. BLT3.  Line 3 adds the daily caller log to the end of the 
  369. "historical" caller log.  Line 4 deletes the daily log (pcboard 
  370. will make a new one for you).   
  371.  
  372. If you are short on disk space, you don't even need to keep the 
  373. 'main\caller' - just delete it.  The information in CALLS.SAV will 
  374. be enough to generate the full caller log report. 
  375.  
  376. If for some reason you want to start over with a fresh log, just 
  377. delete 'calls.sav' and calls.exe will create a new one for you.   
  378.  
  379. If you don't want to take advantage of this 'daily caller log' 
  380. feature, just add the line 
  381.    del calls.sav
  382. before the 'calls \pcb\main ...' line in your event.sys - without 
  383. the .sav file, it will act just like it used to. 
  384.  
  385. Note: if you run CALLS twice on the same caller log, the 
  386. information will be added to CALLS.SAV twice!  So, either make a 
  387. backup copy of CALLS.SAV, or always delete daycal when you run 
  388. calls. 
  389.  
  390. Version 12s11 16-Jan-88 S.H.Smith
  391. -----------------------------------------------------------------------
  392.  
  393. Moved security related statistics to a new report (code 'N'). Added 
  394. a fourth parameter to specify the minimum number of downloads 
  395. needed to include a file in the files-downloaded report. 
  396.  
  397. Version 12s10 31-Dec-87 S.H.Smith
  398. -----------------------------------------------------------------------
  399.  
  400. Sorted entries in system statistics report.  Added reporting of 
  401. Archive test runs, archive extract runs and re-arc runs. 
  402.  
  403. Version 12s9 27-Dec-87 S.H.Smith
  404. -----------------------------------------------------------------------
  405.  
  406. Added a third command-line parameter to specify the reports to 
  407. generate. This lists the specific report sections to produce and 
  408. the order in which they will appear.   
  409.  
  410. If, for example, you wanted to produce only the hourly usage (D), 
  411. bulletins read (F), and system statistics (A) reports (in that 
  412. order), the command line would be: 
  413.    calls \pcb\main\caller \pcb\gen\blt3 DFA
  414.  
  415. -----------------------------------------------------------------------
  416.  
  417. Version 12s7 21-Dec-87
  418. Version 12s6 29-Nov-87
  419. Version 12s5 20-Nov-87
  420. Version 12s4 07-Nov-87
  421. Version 12s3 12-Oct-87
  422. Version 12s1 10-Oct-87
  423.  
  424.  
  425.  
  426.                       ORIGINAL DOCUMENTATION
  427.                       ======================
  428.  
  429.  
  430. Phoenix Arizona                                  Feb 23, 1987
  431.  
  432.      This documentation covers version 11.8 of CALLS118.COM, a 
  433. call analyzer for PCBoard 11.8. 
  434.      It was written in Turbo Pascal, and is in it's 7th update 
  435. with this version.  Previous versions had various names and 
  436. version numbers such as "pcbcalls", "calls5b" etc.  From now on, 
  437. it will carry the same version number as PCBoard.  If any 
  438. revisions are made or required, it will have a letter suffix. (ie 
  439. 117b). 
  440.      This version contains only minor mods to include changes made 
  441. in going from 11.6 to 11.7.  The Imodem and Gmodem protocols have 
  442. been added, some minor cleanup was done on the displays, and the 
  443. error file, BLT99.DOC has been eliminated as redundant and of not 
  444. much value. 
  445.  
  446. OPERATION
  447.  
  448.      This version works pretty much the same as all previous 
  449. versions with the exception that the error file "BLT99.DOC" has 
  450. been eliminated. 
  451.      The program is very easy to run, requiring only access to the 
  452. callers file.  This can be done in one of two ways: If you run it 
  453. from your 'MAIN' dir, you can just type CALLS118 and it will 
  454. default to an input file name of "CALLERS" and an called 
  455. "CALLFILE.DOC". 
  456.      It will also support command line parameters, so you can use 
  457. it in a batch file or in your "EVENT.SYS" file, as I do. The .COM 
  458. file should be in your \PCB dir, though this is not required.  
  459. Below is a sample of part of my .SYS file: 
  460.  
  461.   calls117 d:\pcb\main\callers e:\pcb\gen\blt10
  462.  
  463. Both parameters should be specified: the first one tells it where 
  464. to find the file (d:\pcb\main\callers) and the name of the callers 
  465. file.  The second tells it where to put the output file, in this 
  466. case I am sending it to Drive D with the name "BLT10". 
  467.  
  468. There are a couple of things that make for better operation: 
  469.   1.  Do not mix callers logs of pcboard 10.0 and 11.7.  I have
  470. heard of no problems mixing 11.6, 11.7 and 11.8.
  471.   2.  For proper operation, your clock and date MUST be correct; if 
  472. the programs finds that your log begins in 1987 and ends in 1980, 
  473. it will usually abort.  If not, the numbers will be totally wrong 
  474. in most cases. 
  475.   It is recommended, though not required, that you start a new 
  476. callers log if you are new to this program.  It is most accurate 
  477. when the log begins with "New callers log initiated "etc. 
  478.  
  479.      Please give it a try and let me know what you think of it, as 
  480. the only way I can put in needed changes is with feedback from the 
  481. users.  You can leave any comments at my board (Phoenix Techline) 
  482. at 602 936-3058 (1200-9600), 24 hours. 
  483.  
  484.      I have included the source code in this version so that it may 
  485. be customized if you desire.  If you make any major changes or 
  486. improvements, please upload them to my board at 602 936 3058. 
  487.  
  488.                           Warren Lauzon
  489.     
  490.